gtk_button_get_image_position
gtk_button_set_always_show_image
gtk_button_get_always_show_image
-gtk_button_get_event_window
<SUBSECTION Standard>
GTK_BUTTON
gtk_button_do_release (button, FALSE);
}
-/**
- * gtk_button_get_event_window:
- * @button: a #GtkButton
- *
- * Returns the button’s event window if it is realized, %NULL otherwise.
- * This function should be rarely needed.
- *
- * Returns: (transfer none): @button’s event window.
- *
- * Since: 2.22
- */
-GdkWindow*
-gtk_button_get_event_window (GtkButton *button)
-{
- g_return_val_if_fail (GTK_IS_BUTTON (button), NULL);
-
- return button->priv->event_window;
-}
-
/**
* gtk_button_set_icon_name:
* @button: A #GtkButton
GDK_AVAILABLE_IN_ALL
gboolean gtk_button_get_use_underline (GtkButton *button);
-GDK_AVAILABLE_IN_ALL
-GdkWindow* gtk_button_get_event_window (GtkButton *button);
-
GDK_AVAILABLE_IN_3_90
void gtk_button_set_icon_name (GtkButton *button,
const char *icon_name);
GtkAllocation border_allocation;
gtk_css_gadget_get_border_allocation (gadget, &border_allocation, NULL);
- gdk_window_move_resize (gtk_button_get_event_window (GTK_BUTTON (widget)),
+ gdk_window_move_resize (GTK_BUTTON (widget)->priv->event_window,
border_allocation.x,
border_allocation.y,
border_allocation.width,